<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Return the current process group identifier</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.posix-getpgrp" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">posix_getpgrp</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">posix_getpgrp</span> &mdash; <span class="dc-title">Return the current process group identifier</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.posix-getpgrp-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>posix_getpgrp</strong></span>
    ( <span class="methodparam">void</span>
   ) : <span class="type">int</span></div>

  <p class="para rdfs-comment">
   Return the process group identifier of the current process. 
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.posix-getpgrp-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns the identifier, as an <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.posix-getpgrp-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member">POSIX.1 and the getpgrp(2) manual page on the POSIX system for
     more information on process groups.</li>
   </ul>
  </p>
 </div>


</div></div></div></body></html>